#ifndef _ADCM_COMPUTER_H
#define _ADCM_COMPUTER_H

/******************************************************************************
** @file	ADCM_Computer.h
** @author
** @author  
**
** @date	Aug 26, 2010
**
** @desc	This class represents a ADCM_Computer class and all its data 
**          members.
**			
**
******************************************************************************/
#include <string>
#include "activeds.h"
#include "adcm_common.h"

class ADCMEXPORT ADCM_Computer 
{

public:    
	/*
	* Class constructor
	*/
	ADCM_Computer(wstring& cn, wstring& os);

	ADCM_Computer();

	ADCM_Computer(const ADCM_Computer&);

	ADCM_Computer& operator =(const ADCM_Computer&);

	

	/*
	* Class destructor
	*/
    ~ADCM_Computer();

public:
	//Getters
	/*
	* This method return the common name of the computers
	*/
	const wstring& 
	getCn()
	{
		return _commonName;	
	}

	/*
	* This method return the OS version of the computer
	*/
    const wstring&
	getOs()
	{
		return _operatingSystem;
	}

	/*
	* This method return the Id of the computer
	*/
    int
	getIdComputer()
	{
		return _idComputer;
	}

	/*
	* This method set the Id of the computer
	*/
    void
	setIdComputer(int idComputer)
	{
		_idComputer = idComputer;
	}

private:
	/*
	* Common name
	*/
    wstring _commonName;

	/*
	* OS version
	*/
    wstring _operatingSystem;

	/*
	* Id Computer in db
	*/
    int _idComputer;

};
#endif
